import request from '@/utils/request'

//检疫首页接口
export const quarantine = (data)=>{
    return  request.get('/manageLeft/quarantine',{params:data})
}
//新增检疫接口
export const addQuarantine = (data)=>{
    return  request.post('/manageLeft/addQuarantine',data)
}
//繁殖管理接口（发情/节育）
export const breedingList = (data)=>{
    return  request.get('/manageLeft/breedingList',{params:data})
}
//新增发情信息接口
export const addBreeding = (data)=>{
    return  request.post('/manageLeft/addBreeding',data)
}
//新增节育信息接口
export const addNerverBreed = (data)=>{
    return  request.post('/manageLeft/addNerverBreed',data)
}
//图片上传
export const imgUpload = (data)=>{
    return  request.post('/liveStock/public/imgUpload',data)
}

// 管理首页健康动物数量
export const getHealthInfo = (data)=>{
    return  request.get('/manageLeft/healthInfo',data)
}